package cpgears.views {
	import asunit.framework.TestCase;
	import cpgears.properties.IWidgetProperties;
	import cpgears.properties.WidgetPropertiesBase;
	
	/**
	 * ...
	 * @author Whyves
	 */
	public class WidgetViewTest extends TestCase{
		
		public function WidgetViewTest(testMethod:String = null) {
			super(testMethod);
		}
		
		public function testProperties():void {
			var widgetView:WidgetView = new WidgetView();
			var properties:IWidgetProperties = new WidgetPropertiesBase(prototype);
			widgetView.widgetProperties = properties;
			assertSame("It should be the same instance of widget properties", properties, widgetView.widgetProperties);
		}
	}
}